import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import address.domain.Address;
import address.model.service.AddressService;


public class AddressTest {

	public static void main(String[] args) throws Exception{
		
		ApplicationContext ac = new ClassPathXmlApplicationContext("/address/config/addressContext.xml");
		AddressService service = (AddressService)ac.getBean("addressServiceImpl");
		System.out.println(service.getAddressByDong("개포1동"));
		
		
	}
}
